package com.pro.pojo;


import java.util.Date;

public class JsUserCoupon {

  private Integer couponId;     //优惠券主键
  private Integer couponCode;   //优惠券编号
  private String couponName;    //优惠券名称
  private Integer couponPrice;  //优惠券金额
  private String pricuteUrl;    //图片路径
  private String startDate;       //开始时间
  private String endDate;         //结束时间
  private Integer online;       //是否上线，2.上线，3.不上线
  private Integer grant;        //发放方式 2.自动发放，3.活动领取 4.人工发放 5.无限制
  private Integer issueQuantity;  //发行数量
  private Integer used;         //已使用数量
  private Integer type;         //类型 2商品3视频
  private String createId;      //创建人
  private String createDate;      //创建时间
  private String updateId;      //更新人
  private String updateDate;      //更新时间

  private Integer userId;
  private String account;
  private String nickname;
  private Integer noUsed;
  private Integer countEnd;
  public JsUserCoupon() {
    super();
  }

  public JsUserCoupon(Integer couponId, Integer couponCode, String couponName, Integer couponPrice, String pricuteUrl, String startDate, String endDate, Integer online, Integer grant, Integer issueQuantity, Integer used, Integer type, String createId, String createDate, String updateId, String updateDate, Integer userId, String account, String nickname, Integer noUsed, Integer countEnd) {
    this.couponId = couponId;
    this.couponCode = couponCode;
    this.couponName = couponName;
    this.couponPrice = couponPrice;
    this.pricuteUrl = pricuteUrl;
    this.startDate = startDate;
    this.endDate = endDate;
    this.online = online;
    this.grant = grant;
    this.issueQuantity = issueQuantity;
    this.used = used;
    this.type = type;
    this.createId = createId;
    this.createDate = createDate;
    this.updateId = updateId;
    this.updateDate = updateDate;
    this.userId = userId;
    this.account = account;
    this.nickname = nickname;
    this.noUsed = noUsed;
    this.countEnd = countEnd;
  }

  public Integer getCouponId() {
    return couponId;
  }

  public void setCouponId(Integer couponId) {
    this.couponId = couponId;
  }

  public Integer getCouponCode() {
    return couponCode;
  }

  public void setCouponCode(Integer couponCode) {
    this.couponCode = couponCode;
  }

  public String getCouponName() {
    return couponName;
  }

  public void setCouponName(String couponName) {
    this.couponName = couponName;
  }

  public Integer getCouponPrice() {
    return couponPrice;
  }

  public void setCouponPrice(Integer couponPrice) {
    this.couponPrice = couponPrice;
  }

  public String getPricuteUrl() {
    return pricuteUrl;
  }

  public void setPricuteUrl(String pricuteUrl) {
    this.pricuteUrl = pricuteUrl;
  }

  public String getStartDate() {
    return startDate;
  }

  public void setStartDate(String startDate) {
    this.startDate = startDate;
  }

  public String getEndDate() {
    return endDate;
  }

  public void setEndDate(String endDate) {
    this.endDate = endDate;
  }

  public Integer getOnline() {
    return online;
  }

  public void setOnline(Integer online) {
    this.online = online;
  }

  public Integer getGrant() {
    return grant;
  }

  public void setGrant(Integer grant) {
    this.grant = grant;
  }

  public Integer getIssueQuantity() {
    return issueQuantity;
  }

  public void setIssueQuantity(Integer issueQuantity) {
    this.issueQuantity = issueQuantity;
  }

  public Integer getUsed() {
    return used;
  }

  public void setUsed(Integer used) {
    this.used = used;
  }

  public Integer getType() {
    return type;
  }

  public void setType(Integer type) {
    this.type = type;
  }

  public String getCreateId() {
    return createId;
  }

  public void setCreateId(String createId) {
    this.createId = createId;
  }

  public String getCreateDate() {
    return createDate;
  }

  public void setCreateDate(String createDate) {
    this.createDate = createDate;
  }

  public String getUpdateId() {
    return updateId;
  }

  public void setUpdateId(String updateId) {
    this.updateId = updateId;
  }

  public String getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(String updateDate) {
    this.updateDate = updateDate;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public String getAccount() {
    return account;
  }

  public void setAccount(String account) {
    this.account = account;
  }

  public String getNickname() {
    return nickname;
  }

  public void setNickname(String nickname) {
    this.nickname = nickname;
  }

  public Integer getNoUsed() {
    return noUsed;
  }

  public void setNoUsed(Integer noUsed) {
    this.noUsed = noUsed;
  }

  public Integer getCountEnd() {
    return countEnd;
  }

  public void setCountEnd(Integer countEnd) {
    this.countEnd = countEnd;
  }

  @Override
  public String toString() {
    return "JsUserCoupon{" +
            "couponId=" + couponId +
            ", couponCode=" + couponCode +
            ", couponName='" + couponName + '\'' +
            ", couponPrice=" + couponPrice +
            ", pricuteUrl='" + pricuteUrl + '\'' +
            ", startDate='" + startDate + '\'' +
            ", endDate='" + endDate + '\'' +
            ", online=" + online +
            ", grant=" + grant +
            ", issueQuantity=" + issueQuantity +
            ", used=" + used +
            ", type=" + type +
            ", createId='" + createId + '\'' +
            ", createDate='" + createDate + '\'' +
            ", updateId='" + updateId + '\'' +
            ", updateDate='" + updateDate + '\'' +
            ", userId=" + userId +
            ", account='" + account + '\'' +
            ", nickname='" + nickname + '\'' +
            ", noUsed=" + noUsed +
            ", countEnd=" + countEnd +
            '}';
  }
}
